package me.zhengjie.pm.projectbase.service.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import me.zhengjie.annotation.Query;

/**
* @author ZGZ
* 2020-04-14
*/
@Data
public class ProjectBaseQueryCriteria{

    /** 精确 */
    @Query
    private Integer id;

    /** 精确 */
    @Query
    private String projectType;

    /** 模糊 */
    @Query
    private String projectName;

    /** 精确 */
    @Query
    private Integer departmentId;
    /** 模糊 */
    @Query(propName = "departmentName",joinName = "departmentBase",type = Query.Type.INNER_LIKE)
    private String departmentName;

    /** 精确 */
    @Query
    private Integer centerId;
    /** 模糊 */
    @Query(propName = "centerName",joinName = "centerBase",type = Query.Type.INNER_LIKE)
    private String centerName;

    /** 精确 */
    @Query
    private Integer departmentLeaderId;
    /** 模糊 */
    @Query(propName = "empName",joinName = "departmentLeaderBase",type = Query.Type.INNER_LIKE)
    private String departmentLeaderName;

    /** 精确 */
    @Query
    private Integer instituteLeaderId;
    /** 模糊 */
    @Query(propName = "empName",joinName = "instituteLeaderBase",type = Query.Type.INNER_LIKE)
    private String instituteLeaderName;

    /** 精确 */
    @Query
    private String projectNo;

    /** 精确 */
    @Query
    private String secretLevel;

    /** 精确 */
    @Query
    private String importance;

    /** 精确 */
    @Query
    private String mainCompany;

    /** 模糊 */
    @Query
    private String developmentContents;

    /** 精确 */
    @Query
    private String projectPlanType;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String achievement;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String planBasis;

    /** 精确 */
    @Query
    private String projectState;

    /** 小于等于 */
    @Query(type = Query.Type.LESS_THAN)
    private Timestamp startTime;

    /** 大于等于 */
    @Query(type = Query.Type.GREATER_THAN)
    private Timestamp endTime;
}